<template>
  <div id="hotJob">
    <div class="hot_jobs">热招职位</div>
    <div class="jobTab">
      <el-tabs v-model="jobCategoryId" :stretch="true">
        <el-tab-pane label="互联网IT" name="1"></el-tab-pane>
        <el-tab-pane label="金融" name="2"></el-tab-pane>
        <el-tab-pane label="房地产·建筑" name="3"></el-tab-pane>
        <el-tab-pane label="贸易·零售·物流" name="4"></el-tab-pane>
        <el-tab-pane label="教育·传媒·广告" name="5"></el-tab-pane>
        <el-tab-pane label="服务业" name="6"></el-tab-pane>
        <el-tab-pane label="市场·销售" name="7"></el-tab-pane>
        <el-tab-pane label="人事·财务·行政" name="8"></el-tab-pane>
      </el-tabs>
    </div>
    <div style="width:100%;height:480px">
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
      <div class="sub-li">
        <div class="sub-li-top">
          <p class="name">软件工程师（C++ 开发方向）</p>
          <p class="salary">12-24K</p>
          <p class="job-text"> 厦门
            <el-divider direction="vertical"></el-divider>
            1-3年
            <el-divider direction="vertical"></el-divider>
            本科
          </p>
        </div>
        <el-divider style="margin: 8px 0 12px 0;"></el-divider>
        <div class="sub-li-bottom">
          <div class="sub-li-bottom">
            <p class="company"><img style="width:30px;height:30px"
                                    src="https://img.bosszhipin.com/beijin/mcs/chatphoto/20200202/9138452c14d3f3b16afcf793831935a7e9de1ed4a8f16df169f4edf880f3acf5_s.jpg"
                                    alt="vmware">
              <span class="company_name">vmware</span>
              <span class="company_industry"> 计算机软件 <el-divider direction="vertical"></el-divider> 已上市 </span>
            </p>
          </div>
        </div>
      </div>
    </div>
    <div style="text-align:center">
      <el-button type="primary" style="width:220px;height:35px; border-radius: 0">查看更多</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: "HotJob",
  data(){
    return{
      jobCategoryId:'1',
    }
  }
}
</script>

<style scoped>
.jobTab {
  height: 50px;
  line-height: 50px;
  background-color: white;
  margin: 0 8px 5px 8px;
}

/deep/ .el-tabs__item {
  height: 50px;
  line-height: 50px;
}

.sub-li {
  display: inline-block;
  margin: 8px;
  height: 140px;
  width: 31.9%;
  padding: 16px 20px;
  box-sizing: border-box;
  background-color: white;
}

p {
  margin: 0 0;
}

.name {
  display: inline-block;
  font-size: 15px;
  color: #414a60;
  width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.salary {
  width: 40%;
  text-align: right;
  display: inline-block;
  color: #fc6c38;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company {
  height: 30px;
}

.job-text {
  height: 28px;
  line-height: 28px;
  font-size: 13px;
  color: #8d92a1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.el-divider--horizontal {
  height: 0.5px;
  margin: 8px 0 12px 0;
}

.company_name {
  display: inline-block;
  margin: 0 20px 0 10px;
  color: #61687c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  height: 30px;
  line-height: 30px;
}

.company_industry {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  font-size: 13px;
  color: #8d92a1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot_jobs {
  font-size: 24px;
  color: #100f0f;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin-bottom: 20px;
}

.hot_jobs::before {
  content: '';
  display: inline-block;
  vertical-align: 8px;
  margin: 0 10px;
  width: 50px;
  height: 1px;
  background: #d1d4db;
}

.hot_jobs::after {
  content: '';
  display: inline-block;
  vertical-align: 8px;
  margin: 0 10px;
  width: 50px;
  height: 1px;
  background: #d1d4db;
}
</style>